home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 8 / The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO / g_quake / dmcam11.zip / DMCAM11.TXT < prev    next >
Text File  |  1996-09-17  |  3KB  |  108 lines

  1. Title    : DocWilco's DeathMatch Camera
  2. Filename : dmcam10.zip
  3. Version  : 1.1
  4. Date     : 11 Sep 1996
  5. Author   : Rogier R. Mulhuijzen
  6. Email    : drwilco@xs4all.nl
  7. IRC      : DocWilco (#Quake)
  8.            
  9.  
  10. Type of Mod
  11. -----------
  12. Quake C  : yes
  13. Sound    : no
  14. MDL      : no
  15. BSP      : no (It uses viewpoints defined by the designer as intermission
  16.                viewpoints)
  17.  
  18. Source Included :  yes
  19.  
  20.  
  21. * What's new to 1.1
  22.  
  23. - Source is now included. All the changed bits are marked with a start and
  24.   end comment. dmcam.qc is a new file.
  25. - Selection algorithm is changed. It now checks whether a player isn't hidden
  26.   by a wall. And the amount of players in view has top priority, average
  27.   distance comes later.
  28. - When no players are in view, the view is switched every 3 seconds.
  29.  
  30. * Introduction
  31.  
  32. I was organising a Quake-competition for a Cybernight when I got the idea
  33. of using QuakeC to turn one client into a automated camera. That way I 
  34. could hook up a computer to a LCD-projector so other people could have a
  35. TV view of what's going on.
  36.  
  37.  
  38. * Installation
  39.  
  40. Put the progs.dat in a sub-dir of the server's quake-directory (dmcam for
  41. example).
  42.  
  43.  
  44. * How to use the patch
  45.  
  46. Start up the server with -game <dmcam's dir>. If you called the dir "dmcam"
  47. you would type:
  48.  
  49. quake -game dmcam
  50.  
  51. A dedicated server for 16 players on map e1m1 would be:
  52.  
  53. quake -game dmcam -dedicated 16 +map e1m1
  54.  
  55. Next, change the name of the client you want to use as the camera into
  56. "CamClient". When that client connects it is automaticaly turned into the
  57. camera.
  58.  
  59.  
  60. * How it works
  61.  
  62. Built into the quake levels are intermission camera points. These are used
  63. for the backdrop when the end-of-level-scores are displayed. When a client
  64. called "CamClient" connects, it is turned into a camera that checks which
  65. intermission viewpoint has the most players in view. Because it cannot
  66. detect whether a player is hidden by a wall, it looks at the average dist-
  67. ance to all the players that are in view. The view with the most players
  68. and the shortest average distance is then selected.
  69. When no players are in any of the views, the view is changed every 3
  70. seconds. So by keeping out of view you can check out all the camera
  71. positions in a level.
  72.  
  73.  
  74. * Designing levels for use with DMCam
  75.  
  76. Just put some intermission viewpoints (classname = "info_intermission) on
  77. cool places.
  78. I haven't played with level editors/designers yet, but you might need the
  79. following info:
  80.  
  81. /*QUAKED info_intermission (1 0.5 0.5) (-16 -16 -16) (16 16 16)
  82. This is the camera point for the intermission.
  83. Use mangle instead of angle, so you can set pitch or roll as well as yaw.  'pitch roll yaw'
  84. */
  85.  
  86.  
  87. * Known bugs
  88.  
  89. - "CamClient" shows up in the frags list.
  90. - Levels without any intermission viewpoints get the first entry point as
  91.   viewpoint and just stay there. I consider this a bug in the level, not in
  92.   my patch actually =)
  93.  
  94.  
  95. * Copyright and Distribution Permissions
  96.  
  97. Authors MAY use these modifications as a basis for other
  98. publically available work, after all, I did.
  99.  
  100. You may distribute this Quake modification in any free electronic format
  101. as long as this description file remains intact and unmodified and is
  102. retained along with all of the files in the archive.
  103.  
  104. You may not publish or distribute this Quake modification in a non-free
  105. form without the permission of the author.
  106.  
  107.  
  108.